import request from '@/utils/request'
const prefix = '/global'
export function getGlobalSettingsClass() {
  return request({
    url: `${prefix}/globalsettings/getglobalsettingsclass/315`,
    method: 'GET'
  })
}

export function queryList(data, page, size) {
  return request({
    url: `${prefix}/globalsettings/search/${page}/${size}`,
    method: 'POST',
    data: { lngproductid: 315, ...data }
  })
}

export function editBudgetOption(id, blnisinactive) {
  return request({
    url: `${prefix}/globalsettings/stop/${id}/${blnisinactive}`,
    method: 'GET'
  })
}
